package com.iwhalecloud.bss.kite.cucc.dataservice.mapper.lcdp;

import com.iwhalecloud.bss.kite.cucc.dataservice.entity.lcdp.PageTrace;
import com.iwhalecloud.bss.kite.cucc.dataservice.entity.lcdp.PageTraceDTO;
import com.ztesoft.bss.base.extmapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Jonathan
 */
public interface PageTraceMapper extends BaseMapper<PageTrace> {
    /**
     * 查询页面定义
     *
     * @param flowId flowId
     * @return
     */
    List<PageTraceDTO> selectAllTrace(@Param("flowId") String flowId);

    /**
     * 查询所有页面环节
     *
     * @param flowId flowId
     * @return PageTraceDTO
     */
    List<PageTraceDTO> selectAllPageStep(@Param("flowId") String flowId);

    /**
     * 查询页面Url
     *
     * @param appId
     * @param busiAreaType
     * @return
     */
    List<String> selectPageUrl(@Param("appId")Long appId, @Param("busiAreaType")String busiAreaType);
}
